Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Form] Allow setting custom message, adapt to sf2.1 API #188

Merged
merged 1 commit into from Nov 5, 2012
Merged

[Form] Allow setting custom message, adapt to sf2.1 API #188

merged 1 commit into from Nov 5, 2012

Conversation

marekkalnik
Copy link

This PR allows setting the message by using 'message' option.

It contains also a refactoring to adapt the code to recent Symfony forms API changes (removes dependency on deprecated functions).

It fixes #160.

The PR should be safe to merge into 1.1 and 2.0 (do you want me to make a separate PR?).
Also note that the namespace is not conform with Symfony2 namespaces (should be Constraint rather than Constraints) but I didn't touch it to avoid BC breaks.

@willdurand
Copy link

Perfect.

willdurand added a commit that referenced this pull request Nov 5, 2012
[Form] Allow setting custom message, adapt to sf2.1 API
@willdurand willdurand merged commit 6444ffe into propelorm:1.1 Nov 5, 2012
@willdurand
Copy link

Thank you!

@marekkalnik
Copy link
Author

No problem. You want me to make separate PRs for 2.0 and master or you'll merge this yourself ?

@willdurand
Copy link

Na. It's ok. Do you work with the 2.0 branch?

William Durand | http://www.williamdurand.fr

On Mon, Nov 5, 2012 at 2:22 PM, Marek Kalnik notifications@github.comwrote:

No problem. You want me to make separate PRs for 2.0 and master or you'll
merge this yourself ?


Reply to this email directly or view it on GitHubhttps://github.com//pull/188#issuecomment-10070091.

@marekkalnik
Copy link
Author

No, unfortunately only 1.1 ATM.

@EdwinLove
Copy link

Any idea when Packagist will pick up the 1.1.4 tag, am keen to get on working with it.....

@willdurand
Copy link

Done :)

@EdwinLove
Copy link

Many thanks :D

@EdwinLove
Copy link

I think the original namespacing was correct.
Symfony uses Constraints not Constrain

@marekkalnik
Copy link
Author

Argh, you're right! My mistake!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants